﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>培训管理系统 - 培训管理 - 转岗培训</title>
    <link href="/css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="/css/font-awesome.min.css?v=4.3.0" rel="stylesheet">
    <link href="/css/animate.min.css" rel="stylesheet">
    <link href="/css/style.min.css?v=3.2.0" rel="stylesheet">
    <!-- jqgrid-->
    <link href="/css/plugins/jqgrid/ui.jqgrid.css" rel="stylesheet">
    <!-- 全局js -->
    <script src="/js/jquery-2.1.1.min.js"></script>
    <script src="/js/bootstrap.min.js?v=3.4.0"></script>
    <script>
        $(function () {
            $("#navbar").load('/ts/navbar.html');
        });
    </script>
    <style>
        .navbar-header {
            width: 150px;
        }

        .top-navigation .navbar-nav .open .dropdown-menu > li > a, .top-navigation .navbar-nav .open .dropdown-menu .dropdown-header {
            padding: 5px 15px 5px 20px;
        }
    </style>
</head>
<body class="gray-bg top-navigation">
    <div id="wrapper">
        <div id="page-wrapper" class="gray-bg">
            <div class="row border-bottom white-bg">
                <nav class="navbar navbar-static-top" role="navigation">
                    <div class="navbar-header">
                        <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
                            <i class="fa fa-reorder"></i>
                        </button>
                        <a href="/ts/index.html" class="navbar-brand">LOGO</a>
                    </div>
                    <div class="navbar-collapse collapse" id="navbar">

                        <!--脚本引入菜单页-->
                    </div>
                </nav>
            </div>
            <div class="wrapper wrapper-content">
                <div class="container">


                    <div class="row">
                        <div class="col-lg-12">
                            <div class="ibox float-e-margins">
                                <div class="ibox-title">
                                    <h5>转岗培训需求列表</h5>
                                    <div class="ibox-tools">
                                        <a href="javascript:;"  class="btn btn-primary btn-sm"><i class="glyphicon glyphicon-plus"></i>同步数据</a>
                                    </div>
                                </div>
                                <div class="ibox-content">
                                    <div class="row">
                                        <div class="col-sm-9 m-b-xs">

                                        </div>
                                        <div class="col-sm-3">
                                            <div class="input-group">
                                                <input type="text" placeholder="搜索" class="input-sm form-control"> <span class="input-group-btn">
                                                    <button type="button" class="btn btn-sm btn-primary">搜索</button>
                                                </span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="table-responsive">
                                        <!--表格列表-->
                                        <div class="jqGrid_wrapper">
                                            <table id="table_list_1"></table>
                                            <div id="pager_list_1"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>



</body>
</html>


<!-- ECharts -->
<script src="/js/plugins/echarts/echarts-all.js"></script>
<!-- layer javascript -->
<script src="/js/plugins/layer/layer.min.js"></script>
<script>
    function add() {
        layer.open({
            type: 2,
            title: '新增',
            shadeClose: true,
            shade: 0.8,
            area: ['600px', '80%'],
            content: '/ts/shouquanxuqiu/xinzengshouquan_add.html', //iframe的url
            btn: ["确定", "取消"]
        });
    }
    function edit() {
        layer.open({
            type: 2,
            title: '修改',
            shadeClose: true,
            shade: 0.8,
            area: ['600px', '80%'],
            content: '/ts/shouquanxuqiu/xinzengshouquan_edit.html', //iframe的url
            btn: ["确定", "取消"]
        });
    }
    function detail() {
        layer.open({
            type: 2,
            title: '详细',
            shadeClose: true,
            shade: 0.8,
            area: ['600px', '80%'],
            content: '/ts/shouquanxuqiu/xinzengshouquan_detail.html', //iframe的url
        });
    }

</script>
<!-- jqGrid -->
<script src="/js/plugins/jqgrid/i18n/grid.locale-cn.js"></script>
<script src="/js/plugins/jqgrid/jquery.jqGrid.min.js"></script>
<script>
    $(document).ready(function () {
        $.jgrid.defaults.styleUI = "Bootstrap";
        var a = [
            { txt1: "1", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },
           { txt1: "2", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },
 { txt1: "3", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },

  { txt1: "4", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },

   { txt1: "5", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },

    { txt1: "6", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },

     { txt1: "7", txt2: "张三", txt3: "财务经理", txt4: "财务总监", txt5: "是", txt6: "是", txt7: "2017-06-13", txt8: "<a href='javascript:;' onclick='detail()' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-search'></i>详细</a> <a href='javascript:;' class='btn btn-primary btn-xs'><i class='glyphicon glyphicon-open'></i>发送需求</a>" },

        ];
        $("#table_list_1").jqGrid({
            data: a, datatype: "local", height: 300, autowidth: true, shrinkToFit: true,
            rowNum: 14, rowList: [10, 20, 30],
            colNames: ["序号", "转岗人员", "原岗位", "新岗位", "课程差异", "需要培训", "培训时间", "操作"],
            colModel: [{ name: "txt1", index: "txt1", width: 60, sorttype: "int" },
                                { name: "txt2", index: "txt2", width: 100 },
                { name: "txt3", index: "txt3", width: 90 },

                { name: "txt4", index: "txt4", width: 80, align: "align" },
                { name: "txt5", index: "txt5", width: 80, align: "align", },
                { name: "txt6", index: "txt6", width: 80, align: "align" },
            { name: "txt7", index: "txt7", width: 80, sorttype: "date", formatter: "date" },
            { name: "txt8", index: "txt8" }],
            pager: "#pager_list_1", viewrecords: true, hidegrid: false
        });
        $(window).bind("resize", function () {
            var b = $(".jqGrid_wrapper").width();
            $("#table_list_1").setGridWidth(b);
        })
    });
</script>